package com.springbootmybatiscurd.mapper.user;

import com.springbootmybatiscurd.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface userLogin {
    @Select("select username,password from db03.table_emp where username=#{username} and password=#{password};")
    public User userLogin(@Param("username") String username, @Param("password") String password);
}
